package com.sitech.openapi.domain.ProductOrder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "OrdOfferProdInstRel", description = "订单-销售品产品实例关系")
public class OrdOfferProdInstRel implements Serializable {

    private static final long serialVersionUID = 1L;

    // 引用资源ProdInst
    @ApiModelProperty(value = "产品实例标识")
    private Long prodInstId;

    // 记录外部产品实例标识
    @ApiModelProperty(value = "外部产品实例标识")
    private String extProdInstId;

    // 记录接入产品实例标识
    @ApiModelProperty(value = "接入产品实例标识")
    private Long accProdInstId;

    // 记录外部接入产品实例标识
    @ApiModelProperty(value = "外部接入产品实例标识")
    private String extAccProdInstId;

    /**
     * 参考主数据OFF-0010
     * 10100002基础移动电话
     * 20100002加装移动电话
     * 20200002加装无线宽带
     */

    @ApiModelProperty(value = "角色编码")
    private String roleCd;

    /**
     * EVT-C-0002	订单数据操作类型
     * 1000 新增
     * 1100 删除
     * 1200 修改
     * 1300 保持
     */
    @ApiModelProperty(value = "操作类型")
    private String operType;

    // 备注
    @ApiModelProperty(value = "备注")
    private String remark;

    public Long getProdInstId() {
        return prodInstId;
    }

    public void setProdInstId(Long prodInstId) {
        this.prodInstId = prodInstId;
    }

    public String getExtProdInstId() {
        return extProdInstId;
    }

    public void setExtProdInstId(String extProdInstId) {
        this.extProdInstId = extProdInstId;
    }

    public Long getAccProdInstId() {
        return accProdInstId;
    }

    public void setAccProdInstId(Long accProdInstId) {
        this.accProdInstId = accProdInstId;
    }

    public String getExtAccProdInstId() {
        return extAccProdInstId;
    }

    public void setExtAccProdInstId(String extAccProdInstId) {
        this.extAccProdInstId = extAccProdInstId;
    }

    public String getRoleCd() {
        return roleCd;
    }

    public void setRoleCd(String roleCd) {
        this.roleCd = roleCd;
    }

    public String getOperType() {
        return operType;
    }

    public void setOperType(String operType) {
        this.operType = operType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "OrdOfferProdInstRel{" +
                "prodInstId=" + prodInstId +
                ", extProdInstId='" + extProdInstId + '\'' +
                ", accProdInstId=" + accProdInstId +
                ", extAccProdInstId='" + extAccProdInstId + '\'' +
                ", roleCd='" + roleCd + '\'' +
                ", operType='" + operType + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
